package com.guochao.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.guochao.dao.LogMapper;
import com.guochao.entity.Log;
import com.guochao.entity.Page;
import com.guochao.service.LogService;

@Service
public class LogServiceIMPL implements LogService {

    @Resource
    private LogMapper logMapper;

    @Override
    public List<Log> logSelByUId(Integer uid) {
        return logMapper.logSelByUId(uid);
    }

    @Override
    public int logSelCount(Integer uid) {
        return logMapper.logSelCount(uid);
    }

    @Override
    public List<Log> findLoad(Page page) {
        return logMapper.findLoad(page);
    }

    @Override
    public int deleteLogByIds(Integer[] logids) { return logMapper.deleteLogByIds(logids); }

    @Override
    public int deleteLogAll() { return logMapper.deleteLogAll(); }
}
